package com.swallow.auth.domain.tenant.service;

import com.swallow.auth.common.result.Result;
import com.swallow.auth.domain.tenant.model.TenantRoot;

/**
 * @author: 18310740596@163.com
 * @date: 2024-05-11 21:36:03
 * @version: v1.0
 * @describe: class responsibility
 */
public interface ITenantDomainService {
    /**
     *  创建租户
     *
     * @param tenantRoot 聚合根
     * @return           创建结果以及租户编号
     */
    Result<String> createTenant(TenantRoot tenantRoot);
}
